import request from '@/utils/request'

// 查询人脸识别记录列表
export function listFace_record(query) {
    return request({
        url: '/face/face_record/list',
        method: 'get',
        params: query
    })
}

// 查询人脸识别记录详细
export function getFace_record(id) {
    return request({
        url: '/face/face_record/' + id,
        method: 'get'
    })
}

// 新增人脸识别记录
export function addFace_record(data) {
    return request({
        url: '/face/face_record',
        method: 'post',
        data: data
    })
}

// 修改人脸识别记录
export function updateFace_record(data) {
    return request({
        url: '/face/face_record',
        method: 'put',
        data: data
    })
}

// 删除人脸识别记录
export function delFace_record(id) {
    return request({
        url: '/face/face_record/' + id,
        method: 'delete'
    })
}
